package com.dao;

import com.core.BaseDao;
import com.entity.model.Hotel;
import com.entity.vo.HotelVO;
import com.util.webpage.PageData;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface HotelDao extends BaseDao<Hotel> {
    List<Hotel> findHotelList(PageData cond);

    List<Hotel> findHotelForm(PageData cond);

    List<HotelVO> findCustomerFavoriteHotelList(@Param("customerId") Integer customerId);

    List<Hotel> findOpenCity();

    List<HotelVO> getHotelList(Map cond);

    List<Hotel> getNewThisWeek();

    List<Hotel> checkInDaysList(PageData cond);
}
